package com.ybkj.chat.module.mine.activity;

import android.os.Bundle;
import android.text.Html;
import android.widget.TextView;

import com.ybkj.chat.R;
import com.ybkj.chat.base.BaseMvpActivity;
import com.ybkj.chat.module.mine.presenter.VisitorPresenter;
import com.ybkj.chat.module.mine.view.VisitorView;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * @author yyj
 * @create 2019-02-20 9:41
 * @Describe 谁看过我
 */
public class VisitorActivity extends BaseMvpActivity<VisitorPresenter> implements VisitorView {
    @BindView(R.id.tv_people_num)
    TextView tvPeopleNum;

    @Override
    protected void injectPresenter() {

    }

    @Override
    protected void initTitle() {
        setTitleText("谁看过我");
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_visitor;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initData() {
        tvPeopleNum.setText(Html.fromHtml("过去有<font color=\"#638DFD\">" + 78 + "</font>个人来看过你"));
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.bind(this);
    }
}
